<?php
/*
Copyright 2008, Nathalia


Author:
Nathalia Sautchuk Patrício          (nathalia.sautchuk@gmail.com)

*/
class ArtigoAutorRecord extends TActiveRecord
{
    const TABLE='ArtigoAutor';
    public $ArtigoAutorID;
    public $ArtigoID;
    public $AutorID;

    public static $RELATIONS=array
    (
        'artigo'          => array(self::BELONGS_TO, 'ArtigoRecord', 'ArtigoID'),
        'autor'           => array(self::BELONGS_TO, 'UserRecord', 'UsuarioID'),

    );

    public static function finder($className=__CLASS__)
    {
        return parent::finder($className);
    }
}
?>
